package com.winter.mapper;

import com.winter.model.NewTradeSalon;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NewTradeSalonMapper {
    int deleteByPrimaryKey(String id);

    int insert(NewTradeSalon record);

    int insertSelective(NewTradeSalon record);

    NewTradeSalon selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(NewTradeSalon record);

    int updateByPrimaryKey(NewTradeSalon record);

    List<NewTradeSalon> queryByUserId(@Param("userId") Long userId);
}